<?php
//
//Submenus
//

//
//Admin submenu
//
if($admin_active == 1) {
	echo '<b>wardkp - Administration: </b>'.
		"&nbsp;[&nbsp;".
		'<a href="raid.php">Raids</a> | '.
		'<a href="loot.php">Loot</a> | '.
		'<a href="chars.php">Characters</a> | '.
		'<a href="bossloot.php">Loot table</a> | '.
		'<a href="bids.php">Bids</a> | '.
		'<a href="log.php">Log</a> | '.
		'<a href="index.php">Settings</a>'.
		']';
}
//
//Normal submenu
//
else {
	echo '<b>wardkp - <a href="'.$war_http.'">'.$system["system_name"].'</a></b> '.
		"&nbsp;/&nbsp;[&nbsp;".
		'<a href="wishlist.php">Wishlist</a> | '.
		'<a href="loot.php">Loot</a> | '.
		'<a href="characters.php">Characters</a> | '.
		'<a href="raids.php">Raids</a>';

/*
	if($character["character_admin"]) {
		echo '| <a href="admin.php">Admin</a> ';
	}*/
	echo '] (<b><a href="profile.php">'.$character["character_name"].' of '.$system["system_name"].'</a></b>)';

}
?>


